package com.lagou.edu.authority.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lagou.edu.authority.dto.AllocateRoleResourceDTO;
import com.lagou.edu.authority.entity.Resource;
import com.lagou.edu.authority.param.ResourceQueryParam;

/**
 * TODO
 *
 * @author lm
 * @since 2021/11/5 11:08
 */
public interface IResourceService extends IService<Resource> {
    Page<Resource> getResourcePages(ResourceQueryParam resourceQueryParam);

    Boolean allocateRoleResources(AllocateRoleResourceDTO allocateRoleResourceDTO);
}
